home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI MIPSpro Fortran-90 7.2
/
SGI MIPSpro Fortran-90 7.2.iso
/
docs
/
relnotes
/
ftn90_fe
/
ch6.z
/
ch6
Wrap
Text File
|
1997-09-05
|
7KB
|
330 lines
- 1 -
7.2 MIPSpro Fortran 90 Front End Release Notes
- 2 -
6. _K_n_o_w_n__B_u_g_s
This chapter briefly describes the major bugs
that are known to exist in this release. Some
of the headings are followed by a Silicon
Graphics incident report number.
+o Patch 2016 requirement.
While not a bug, this is a reminder that
you must install ftn_eoe_sw and
ftn_eoe_sw64 (for 64-bit development) from
patchSG0002016. If you don't you will see
the following message when compiling and
linking:
%f90 test.f
ld32: FATAL 9: I/O error (-lfortran): No such file or directory
Installation of the above mentioned
subsystems from patchSG002016 will
eliminate the problem
+o Code that contains internal procedures may
not be optimized correctly when the -IPA or
-INLINE flags are used. Under certain
circumstances, internal compiler errors may
be generated (Bug 511830).
+o The compiler produces incorrect code in the
case where an OPTIONAL dummy argument is
used as an optional argument to an
intrinsic fuction, and the corresponding
actual argument is not present. This bug
manifests itself as a segmentation fault at
run-time (Bug 707608).
The example below illustrates the bug:
program bug707608
character*10::ch = 'abcdeabcde'
call printindex(ch,'c',.false.) ! Works correctly
call printindex(ch,'c') ! Run-time segmentation fault
contains
subroutine printindex(ch,c,back)
character*(*) ch,c
logical,optional::back
print *,index(ch,c,back)
end subroutine
end
- 3 -
+o When the CSIN intrinsic function is used as
a dummy argument, and the -r8 or -default64
switch is specified, the compiler generates
an incorrect library entry point. At link
time, the symbol x_sin_ will be undefined
(Bug 707605).
The simplest workaround is to add the
following code somewhere in the executable:
complex(8) function z_sin(z)
real(8) z(2), r, i
r = sin(z(1)) * cosh(z(2))
i = cos(z(1)) * sinh(z(2))
z_sin = cmplx(r, i, 8)
return
end
+o The Workshop debugger (cvd) and dbx will
not display assumed shape arrays or
pointers of kind(1) or kind(2) and integer
or logical type. The stride between
elements is computed incorrectly. In
general it is recommended that dbx be used
to debug Fortran 90 programs.
+o The compiler incorrectly emits debugging
information for the PROGRAM statement. For
example:
PROGRAM TEST
print *,'hi'
END
One cannot set a breakpoint in TEST. Set a
breakpoint in MAIN__ instead.
6.1 _K_n_o_w_n__P_r_o_b_l_e_m_s__(_L_i_c_e_n_s_i_n_g_)
+o The MIPSpro F90 compiler will abort if the
license file directory (/var/flexlm)
contains a cycle formed by symbolic links.
For example:
- 4 -
%ls -l /var/flexlm
lrwxr-xr-x 1 root sys 1 Mar 13 1996 license -> .
-rw-r--r-- 1 root sys 1162 Aug 20 17:09 license.dat
%f90 foo.f
Bus error (core dumped)
The solution is to remove the symbolic link
that forms the cycle.
+o Cryptic warning message from licensing.
The first line of a warning message that
occurs when a license file exists under
/var/flexlm but does not contain the
compiler license can be misleading. For
completeness the following example
illustrates the entire output when a
license file exists, but a license is not
installed:
- 5 -
%f90 foo.f
No such feature exists (-5,116)
The MIPSpro Fortran 90 Compiler
(license FEATURE string = f90)
requires a license password.
For license installation and trouble shooting
information visit the web page:
http://www.sgi.com/Support/Licensing/install_docs.html
To obtain a Permanent license (proof of purchase
required) or an Evaluation license please
visit our license request web page:
http://www.sgi.com/Products/license.html
or send a blank email message to:
license@sgi.com
In North America, Silicon Graphics' customers may request
Permanent licenses by sending a facsimile to:
(650) 932-0537
or by calling our technical support hotline
1-800-800-4SGI
If you are Outside of North America or you are not a Silicon
Graphics support customer then contact your local support provider.